package com.itheima.stock.api;


import com.itheima.stock.response.ResponseResult;
import com.itheima.stock.vo.CaptchaVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


@RequestMapping(path = "/api")
public interface UserControllerAPI {

    @GetMapping(path = "/captcha")
    ResponseResult<CaptchaVO> captcha();

    @GetMapping(path = "/user/test")
    String sayHello(@RequestParam("name") String name);
}
